<?php

declare(strict_types=1);

namespace App\Entity;

use App\Models\CleanStockConfig;

/**
 * Class CleanStockConfigEntity
 */
class CleanStockConfigEntity extends ABaseEntity
{
    public function __construct(CleanStockConfig $model)
    {
        $this->model = $model;
    }

    /**
     * @return int
     */
    public function getId()
    {
        return $this->model->id;
    }

    /**
     * @return int
     */
    public function getCityId()
    {
        return $this->model->city_id;
    }

    /**
     * @return string
     */
    public function getProductsId()
    {
        return $this->model->products_id;
    }

    /**
     * @return string
     */
    public function getCleanNum()
    {
        return $this->model->clean_num;
    }

//    public function getProductName()
//    {
//        return $this->model->title;
//    }

    /**
     * @return string
     */
    public function getStatus()
    {
        return $this->model->status;
    }

    public function getOrderBy()
    {
        return $this->model->order_by;
    }

    /**
     * @return string
     */
    public function getCreatedAt()
    {
        return $this->model->created_at;
    }

    /**
     * @return string
     */
    public function getUpdatedAt()
    {
        return $this->model->updated_at;
    }
}
